-- GENERATED SPELL FOR [Mariner Frostnight] --


function spell0_25055(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25055', 5284, 1)
end

function Sorts_25055(pUnit, Event)
local choix_sorts_25055 = math.random(0, 0)
if choix_sorts_25055 == 0 then
pUnit:RegisterEvent('spell0_25055', 1, 1)
end
end

function mob25055_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25055', math.random(1500, 3000), 1)
end

function mob25055_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25055_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25055_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25055, 1, 'mob25055_Action')
RegisterUnitEvent(25055, 2, 'mob25055_Leave')
RegisterUnitEvent(25055, 3, 'mob25055_Kill')
RegisterUnitEvent(25055, 4, 'mob25055_Die')
